<?php 

$this->load->view('admin/head');
$this->load->view('admin/header');
?>
<!-- Content -->
<div class="space30"></div>
<div class="container">
	<div class="row">
		<div class="col-md-2">
			<nav class="navbar1">
				<?php $this->load->view('admin/left_nav'); ?>
			</nav>
		</div>
		<div class="col-md-10">
<div class="form_container">
            		<h4>Admin List Report</h4>
                    <!--row starts-->
                    	<div class="row1">
                        	<div class="form-group col-sm-3" style="float: right;margin: -25px 0 0 0;">
                        	<a href="<?php echo BASE_URL.'/admin/download_report1';?>">
                            	<div class="download_reports">
                                    <img src="<?php echo ASSET_URL.'img/attachment.png';?>" alt="Attachment" style="width:30px; margin-right:5px; margin-top:5px;"> <p>Download Report</p>
                                    <div class="clear"></div>
                                </div>
                            </a>
                        </div>
                    <div class="clearfix"></div>
                        </div>
                    <!--row closed-->
                    <!--row starts-->
                        <div class="row1">
                        <div class="modal-body">
                        <div class="table-responsive">
                        
                          <table border="0" cellspacing="0" cellpadding="0"  id="Admin_Report" class="table table-striped" >
                          <thead>
                              <tr bgcolor="#FFFFFF">
                                <td width="8%"><b>S.No.</b></td>
                                <td width="25%"><b>Full Name</b></td>
                                <td width="24%" ><b>Email</b></td>
                                <td width="22%"><b>Contact</b></td>
                              </tr>
                           </thead>
                          <?php  if(isset($admin_details) && $admin_details!=NULL) { ?>
                           <tbody>   
                              <?php 
							 
							  $i=1; foreach($admin_details as $row) { ?>
                              <tr>
                                <td><?php echo $i; ?></td>
                                <td><?php if(isset($row['admin_fullname'])) { echo $row['admin_fullname']; }?></td>
                                <td><?php if(isset($row['admin_email'])) {echo $row['admin_email']; }?></td>
                                <td><?php if(isset($row['admin_contact_number'])) {echo $row['admin_contact_number'];}?></td>
                              </tr>
                              <?php $i++;} ?>
                          </tbody>    
                         <?php  }?>
                            </table>
						</div>
         <div class="space30"></div>
              </div>
              </div>
     <!--row closed-->     
        </div>
        <!--form closed-->
         <div class="space30"></div>
        
      </div>
       <div class="clearfix"></div>
    </div>    
  </div>    
  <div class="space20"></div>  
  <div class="space30"></div>  
 
<!-- Content End -->
<?php $this->load->view('common/footer'); ?>  
 <script type="text/javascript">
$(document).ready(function(){
	$("input[type=search]").attr('placeholder', 'Search...');
});
</script>